@extends('layouts.home')

@section('mainbar')

    <div class="mainbar">
        <div class="article">
            <h2><span>@if($data['first']) {{$data['first']->item_name}} @endif</span></h2>
            <div class="clr"></div>
            <p>
                <div id="MyContent">

                @if($data['first']) {!!$data['first']['item_content']!!} @endif
        </div>
        </p>
        </div>

    <div class="article">
        <h2><span>案例展示</span></h2>
        <div class="clr"></div>
        @foreach($data['list'] as $v)
        <div class="comment" style="overflow: hidden"> <a href="{{url('other?item_type=1&oid='.$v->oid)}}"><img src="/{{$v->item_img}}" width="90" height="90" alt="user" class="userpic" /></a>
            <p><a href="{{url('other?item_type=1&oid='.$v->oid)}}">{{$v->item_name}}</a><br />
                {{$v->create_time}}　点击：{{$v->click}}</p>
            <p>{{$v->other_desc}}</p>
        </div>
        @endforeach

    </div>

    </div>

    @endsection



@section('sidebar')
    @include('home.common.sidebar4')

    @endsection